package com.lrkj.payfee.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 仪种类对象 tb_meter_kind
 *
 * @author yajun_ren
 * @date 2021-07-27
 */
public class MeterKind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 种类id */
    private String kindId;

    /** 代码 */
    @Excel(name = "代码")
    private String kindCode;

    /** 名称 */
    @Excel(name = "名称")
    private String kindName;

    /** 所属物业 */
    @Excel(name = "所属物业")
    private String deptId;

    private String deptName;

    /** 祖级ID */
    private String ancestors;

    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }


    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setKindId(String kindId)
    {
        this.kindId = kindId;
    }

    public String getKindId()
    {
        return kindId;
    }
    public void setKindCode(String kindCode)
    {
        this.kindCode = kindCode;
    }

    public String getKindCode()
    {
        return kindCode;
    }
    public void setKindName(String kindName)
    {
        this.kindName = kindName;
    }

    public String getKindName()
    {
        return kindName;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("kindId", getKindId())
            .append("kindCode", getKindCode())
            .append("kindName", getKindName())
            .append("deptId", getDeptId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
